local CheckWidgetType = UI.CheckWidgetType
local CheckArgType = UI.CheckArgType
local CheckArgWidget = UI.CheckArgWidget
local MakeAccessor = UI.MakeAccessor
local MakeTypeSetter = UI.MakeTypeSetter

--[[ MovieFrame @FIXME ]]--
local Model = UI.NewWidgetType("MovieFrame", "Frame")
Model.parameters = {
}

function Model:Initialize(o)
	local t = UI.params[o]
	assert(t)
end

--~ MakeTypeSetter("Model", "SetSequence", "sequence", "number")
--~ MakeTypeSetter("Model", "SetSequenceTime", "time", "number")

--~ MakeAccessor("Model", "GetModelScale", "scale")
--~ MakeTypeSetter("Model", "SetModelScale", "scale", "number")

UI.RegisterScriptHandlers(Model, "OnMovieFinished", "OnMovieShowSubtitle", "OnMovieHideSubtitle")
